package com.homeWork;

public class Car {
    private String kind;

    public Car(){}
    public Car(String kind) {
        setKind(kind);
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
    public void drive(){
        System.out.println("我的功能是drive");
    }
}
